﻿using System;

namespace enyo
{
    public class PopupSelect : Menu
    {
        /// <summary>
        /// An array of config objects or strings representing items.
        /// Note that specified components are automatically added to the items array.
        /// Items are owned by the PopupSelect and therefore event handlers should not be specified on them.
        /// Use the onSelect event to respond to an item selection.
        /// </summary>
        public object[] Items;//TODO:item type

        public object Selected { get; set; }

        //TODO:meaning?
        public EnyoEvent<Control, object, object> onSelect;
    }
}
